package chapter04;

import java.util.Scanner;

public class Day4 {
    public static void main(String[] args) {
        double a;
        Scanner input = new Scanner(System.in);
        System.out.println("请输入：");
        a = input.nextDouble();
        if (a%3==0){
            System.out.println("需要钢管为："+(int)+a/3);
        }
        else {
            System.out.println("需要钢管为："+((int)(a/3)+1));
        }
    }
}
